<basics2:ChildWindow x:Class="Rawr.Mage.CycleAnalyzerDialog"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:basics2="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="536" Height="600" 
           Title="Cycle Analyzer" Closing="ChildWindow_Closing">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="220" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <ComboBox Grid.Row="0" x:Name="CycleGeneratorComboBox" SelectionChanged="CycleGeneratorComboBox_SelectionChanged">
            <ComboBoxItem Content="Arcane" />
            <ComboBoxItem Content="Arcane Hyper Regen" />
            <ComboBoxItem Content="Arcane Dragonwrath" />
            <ComboBoxItem Content="Arcane AOE" />
            <ComboBoxItem Content="Frost" />
            <ComboBoxItem Content="Frost+Deep Freeze" />
            <ComboBoxItem Content="Frost+Freeze" />
        </ComboBox>
        <TextBox Margin="0,4,0,4" Grid.Row="1" IsReadOnly="True" BorderThickness="0" x:Name="Description" TextWrapping="Wrap" VerticalScrollBarVisibility="Visible" />
        <Grid Grid.Row="2">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="75"/>
                <ColumnDefinition Width="75"/>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0" Margin="4,4,4,4" Text="Control String: " />
            <TextBox Grid.Column="1" Margin="4,4,4,4" x:Name="ControlString" />
            <Button Grid.Column="2" Margin="4,4,4,4" x:Name="Calculate" Content="Calculate" Click="Calculate_Click" />
            <Button Grid.Column="3" Margin="4,4,4,4" x:Name="Optimal" Content="Optimal" Click="Optimal_Click" />
        </Grid>
        <TextBox Margin="0,4,0,4" Grid.Row="3" IsReadOnly="True" BorderThickness="0" x:Name="Result" TextWrapping="Wrap" VerticalScrollBarVisibility="Visible" />
        <Grid Grid.Row="4">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="200"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <ProgressBar Grid.Column="0" x:Name="ProgressBar" />
            <TextBlock Grid.Column="1" x:Name="ProgressLabel" />
        </Grid>
    </Grid>
</basics2:ChildWindow>